<?php

	#doc
	#	classname:	banersWidget
	#	scope:		PUBLIC
	#
	#/doc
	
	class banersWidget extends CWidget
	{
		#	internal variables
		public $place;
		#	Constructor
		public function run()
		{
			//$baners=new baners();
			$baner= baners::model()->findAll('place=:place',array(':place'=>$this->place));
			
			$this->render('baner',array('baner'=>$baner));
		}
		###	
	
	}
	###

?>